package butines.core.game;

import java.awt.Graphics2D;

public interface UIListener {

	void onKey(int keyCode, boolean pressed);
	
	void onButton(float sx, float sy, int button, boolean pressed);
	
	void onMove(float sx, float sy, float dx, float dy);
	
	void onFocus(boolean focus);
	
	void onMouseOver(boolean mouseOver);
	
	void onScroll(float ox, float oy, int vw, int vh);

	void onSelect(float x, float y, float w, float h);
	
	void onRender(Graphics2D g);
	
	void onUpdate(float tpf);
	
}
